<%-- 
    Document   : ThanhToan
    Created on : Apr 27, 2011, 10:22:07 PM
    Author     : MongKieu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>


<script type="text/javascript" src="styles/validate.js"></script>

<script type="text/javascript" >
  function doPaymentSubmit(){
     if (isEmpty('txtHoTen') || isEmpty('txtEmail') || isEmpty('txtXacNhanEmail') || isEmpty('txtDiaChiLienHe')) return false;
  	 if (isInvalidEmail('txtEmail') || isInvalidEmail('txtXacNhanEmail')) return false; 														     if (isValueDiff('Email','EmailConfirm', 'Địa chỉ email xác nhận không giống')) return false; 														     return true;
  }
</script>


<form:form method="post" commandName="donDatHang" onsubmit="doPaymentSubmit();" action="ThanhToan.htm?action=xacNhanDonHang">
    <div style="padding-top:10px; padding-left:10px; clear:both; height:auto">
        <div style="cursor:pointer;width:auto;border-bottom:#d6d6d6 1px dotted;" >
            <h3>Thanh toán</h3>
        </div>
        <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
            <b>1. Chọn phương thức thanh toán </b>
        </div>
        <br />
        <table width="100%">
            <tr><td width="120px"><span style="color:black"> Thanh toán</span></td><td>
                    <span style="color:red">*</span>
                    <select name="paymentCode" style="width:250px; height:24px; font-weight:bold; color:#333" onchange="changePaymentMethod(this)">
                        <c:forEach var="hinhThucThanhToan" items="${listHinhThucThanhToans}">
                            <option  value="${hinhThucThanhToan.id}">${hinhThucThanhToan.tenHinhThuc}</option>
                        </c:forEach>
                    </select>
                </td></tr>
        </table>
        <div style="visibility:hidden; position:absolute; top:-300px">
            <span id='payment8'><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Thẻ ATM do Ngân hàng Đông Á phát hành: </B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Chủ thẻ: Nguyễn Hữu Nam </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Số TK  : 0101 020 393 </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Khách hàng ở nước ngoài chuyển khoản quốc tế</FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Bank: DONG A</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Account Name: NGUYEN HUU NAM</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Account No.: 0101020393</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Swift code: EACBVNVX</B></FONT><br></TEXTFORMAT> </span>
            <span id='payment9'><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"><B>1. ATM Ngân hàng Đông Á:</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Chủ tài khoản (TK): Nguyễn Hữu Nam</FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Số TK: 0101 020 393</FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"><B>2 . ATM NH Nông nghiệp &amp; Phát triển Nông thôn (Agribank):</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Chủ TK: Lê Minh Thu </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Số TK: 160 220 5020 910 </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"><B>3. ATM Ngân hàng Ngoại thương Việt Nam (Vietcombank): </B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Chủ TK: Nguyễn Hữu Nam </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Số TK: 033 100 368 0961 </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"><B>4. ATM Ngân hàng Techcombank:</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Chủ TK:  Nguyễn Hữu Nam </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Số TK: 1022 118 1588 017   </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1"><B>5. ATM Ngân hàng ACB:</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Chủ TK: Nguyễn Hữu Nam</FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="JUSTIFY"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="1">Số TK: 4214.9435.1021.9277</FONT><br></TEXTFORMAT> </span>
            <span id='payment10'><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Người nhận: Đỗ Văn Anh Kiệt (đại diện nhà sách Minh Khai)</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Địa chỉ       : 249 Nguyễn Thị Minh Khai - Phường Nguyễn Cư Trinh - Quận 1 - TP.HCM - Việt Nam </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">CMND số   : 020162314 </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT><br></TEXTFORMAT> </span>
            <span id='payment11'><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Người nhận: Đỗ Văn Anh Kiệt (đại diện nhà sách Minh Khai)</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Địa chỉ       : 249 Nguyễn Thị Minh Khai - Phường Nguyễn Cư Trinh - Quận 1 - TP.HCM - Việt Nam </B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>CMND số   : 020162314 </B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT><br></TEXTFORMAT> </span>
            <span id='payment12'><b>(Chỉ áp dụng cho quý khách hàng có địa chỉ ở nội thành TP.HCM)</b> </span>
            <span id='payment13'><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Chưa hỗ trợ </B></FONT><br></TEXTFORMAT> </span>
            <span id='payment14'><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Thanh toán qua cổng thanh toán Ngân Lượng (nganluong.vn). Yêu cầu bạn phải có tài khoản hay ví điện tử tại website nganluong.vn. </FONT><br></TEXTFORMAT> </span>
        </div>
        <br />
        <span id="paymentDesc" style=" font-weight:bold; color:black"><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Thẻ ATM do Ngân hàng Đông Á phát hành: </B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Chủ thẻ: Nguyễn Hữu Nam </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Số TK  : 0101 020 393 </FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Khách hàng ở nước ngoài chuyển khoản quốc tế</FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Bank: DONG A</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Account Name: NGUYEN HUU NAM</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Account No.: 0101020393</B></FONT><br></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT   COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B>Swift code: EACBVNVX</B></FONT><br></TEXTFORMAT>  </span>
        <script type="text/javascript" >
            function changePaymentMethod(v){
                $('#paymentDesc')[0].innerHTML=$('#payment'+v.value)[0].innerHTML
            }
        </script>

        <br />

        <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
            <b>2. Thông tin giao hàng  </b><br />
        </div>
        <table width="100%">
            <tr style="padding-top:4px">
                <td width="120px">
                    <span style="color:black">Họ tên</span>
                </td>
                <td>
                    <span id="msgErr" style="color:red">&nbsp;</span><br />
                    <form:input path="khachHang.hoTen" id="txtHoTen" title="txtHoTen" cssStyle="width:55%"/>
                    <span style="color:red">*</span>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Email</span>
                </td>
                <td style="padding-top:4px">
                    <form:input path="khachHang.email" id="txtEmail"title="txtEmail"  cssStyle="width:55%"/>
                    <span style="color:red">*</span>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Xác nhận email</span>
                </td>
                <td style="padding-top:4px">
                    <input type="text" name="txtXacNhanEmail" id="txtXacNhanEmail" style="width:55%" />
                    <span style="color:red">*</span>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Địa chỉ liên hệ </span>
                </td>
                <td style="padding-top:4px">
                    <form:textarea path="khachHang.diaChi.tenDiaChi" id="txtDiaChiLienHe" title="txtDiaChiLienHe"  cssStyle="width:90%"/>
                    <span style="color:red">*</span>
                    <br />Nếu địa chỉ giao hàng khác địa chỉ liên hệ thì vui lòng nhập vào đây:
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Địa chỉ giao hàng</span>
                </td>
                <td style="padding-top:4px">
                    <textarea name="txtDiaChiGiaoHang" id="txtDiaChiGiaoHang" cols="45" rows="2" style="width:90%"></textarea>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Số điện thoại</span>
                </td>
                <td style="padding-top:4px">
                    <form:input path="khachHang.dienThoai" id="txtDienThoai" title="txtDienThoai"  cssStyle="width:55%"/>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Quốc gia</span>
                </td>
                <td style="padding-top:4px">
                    <input type="text" style="width:55%" name="Country" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Thành phố</span>
                </td>
                <td style="padding-top:4px">
                    <form:input path="khachHang.diaChi.tinhThanhPho" id="txtTinhThanhPho"title="txtTinhThanhPho" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Quận/huyện tỉnh</span>
                </td>
                <td style="padding-top:4px">
                    <form:input path="khachHang.diaChi.quanHuyen" id="txtQuanHuyen"title="txtQuanHuyen" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Mã vùng</span>
                </td>
                <td style="padding-top:4px">
                    <form:input path="khachHang.diaChi.maVung" id="txtMaVung"title="txtMaVung" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Châu lục</span>
                </td>
                <td style="padding-top:4px">
                    <select name="khachHang.diaChi.chauLuc.id" style="width:180px; height:24px;  color:#333" name="Region">
                        <c:forEach var="chauLuc" items="${listChauLucs}" >
                            <option value="${chauLuc.id}">${chauLuc.tenChauLuc}</option>
                        </c:forEach>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="120px" style="padding-top:4px" valign="top">
                    <span style="color:black">Loại tiền</span></td><td style="padding-top:4px">
                    <select name="loaiTien.id" style="width:180px; height:24px;  color:#333">
                        <c:forEach var="loaitien" items="${listLoaiTiens}">
                            <option value="${loaitien.id}" >${loaitien.tenLoaiTien}</option>
                        </c:forEach>
                    </select>
                </td>
            </tr>
        </table>
        <br />
        <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
            <b>3. Thông tin tùy chọn  </b>
        </div>
        <br />
        <table width="100%">
            <tr style="padding-top:4px">
                <td width="50%">
                    <input type="checkbox"  onchange="if (this.checked) {document.getElementById('txtAreaGhiChuDonHang').disabled=false} else {document.getElementById('txtAreaGhiChuDonHang').disabled=true}" name="noteCheck"  />
                    <span style="color:black">Ghi chú về đơn hàng xin nhập vào đây:</span><br />
                    <form:textarea path="thongTinTuyChon.ghiChu" id="txtAreaGhiChuDonHang" title="txtAreaGhiChuDonHang" disabled="true" cssStyle="width:95%"/>
                </td>
                <td width="50%">
                    <input type="checkbox" id="gifCheck" name="gifCheck"
                           onchange="if (this.checked)
                               {
                                   document.getElementById('txtAreaLoiChuc').disabled=false
                               }else
                               {
                                   document.getElementById('txtAreaLoiChuc').disabled=true
                               }"
                               />
                    <span style="color:black"> Gói thành quà với lời chúc </span><br>
                    <form:textarea  path="thongTinTuyChon.loiChuc" id="txtAreaLoiChuc" title="txtAreaLoiChuc" disabled="true" cssStyle="width:95%"/>
                </td></tr>
        </table>

        <div style="width:auto;border-bottom:#d6d6d6 1px solid;" > &nbsp;</div>
        <br />
        <input type="checkbox"  name="invoiceCheck"
               onchange="if (this.checked) 
                   {
                       document.getElementById('txtTenCongTy').disabled=false;
                       document.getElementById('txtMaSoThue').disabled=false;
                       document.getElementById('txtDiaChiCongTy').disabled=false;
                   }else{
                       document.getElementById('txtTenCongTy').disabled=true;
                       document.getElementById('txtMaSoThue').disabled=true;
                       document.getElementById('txtDiaChiCongTy').disabled=true;
                   }" />

        <span style="color:black">Nếu công ty cần xuất hóa đơn xin đánh dấu và nhập vào đây:</span><br /><br />
        <table width="100%">
            <tr style="padding-top:4px">
                <td width="120px" valign="top">
                    <span style="color:black">Tên công ty</span>
                </td>
                <td>
                    <form:input path="thongTinHoaDon.tenCongTy" id="txtTenCongTy" title="txtTenCongTy" disabled="true" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr style="padding-top:4px">
                <td width="120px" valign="top">
                    <span style="color:black">Mã số thuế </span>
                </td>
                <td>
                    <form:input path="thongTinHoaDon.maSoThue" id="txtMaSoThue" title="txtMaSoThue" disabled="true" cssStyle="width:55%"/>
                </td>
            </tr>
            <tr style="padding-top:4px">
                <td width="120px" valign="top">
                    <span style="color:black">Địa chỉ công ty </span>
                </td>
                <td>
                    <form:textarea path="thongTinHoaDon.diaChiCongTy" id="txtDiaChiCongTy" title="txtDiaChiCongTy" disabled="true" cssStyle="width:90%"/>
                </td>
            </tr>
        </table>
        <br />
        Ghi chú: Phần đánh dấu <span style="color:red">(*)</span> là bắt buộc. Bạn điền thông tin giao hàng bằng font chữ Việt Unicode hoặc không dấu.
        <div style="width:auto;border-bottom:#d6d6d6 1px solid;" > &nbsp;</div>
        • Chi phí giao hàng sẽ được thông báo cụ thể qua email ngay khi chúng tôi nhận được Đơn đặt hàng của quý khách. <br />
        • <span class="linkitem"> <b><a href="help.htm">Tham khảo chi phí giao hàng </a></b>  </span>
        <br /><br />
        <center><input type="submit" name="XacNhanDonHang" value="Xác nhận đơn hàng"/> </center>
    </div>
</form:form>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <c:if test="${message=='0'}">
        </c:if>
        ${ThongBao}
        ${ThongBao1}
        <c:if test="${message=='1'}">
            ${DonDatHang.khachHang.hoTen}
            <div>
                <p><strong>XÁC NHẬN ĐƠN HÀNG	</strong></p>
            </div>
            <div>
                <p><strong>Thông tin đơn hàng</strong></p>
            </div>
            <div>
                <p><strong>Mã số đơn hàng:</strong>ADYUU2343242</p>
            </div>
            <div>
                <p><strong>Thanh toán:</strong></p>
                <p><strong>Người Nhận: </strong>Đỗ</p>
                <p><strong>Địa chỉ:</strong></p>
                <p><strong>CMND:</strong></p>
                ${DonDatHang.hinhThucThanhToan.chuoiXmlThanhToan}
                <br/>
            </div>

            <div>
                <p>Email liên hệ: ${DonDatHang.khachHang.email}</p>
                <p><strong>Tên</strong>:${DonDatHang.khachHang.hoTen}</p>
                <p><strong>Địa chỉ liên hệ:${DonDatHang.khachHang.diaChi.tenDiaChi}</strong>:</p>
                <p><strong>Địa chỉ giao hàng:</strong></p>
                <p><strong>Quốc gia:</strong></p>
                <p><strong>Quận huyện:</strong>${DonDatHang.khachHang.diaChi.quanHuyen}</p>
                <p><strong>Điện thoại</strong>:${DonDatHang.khachHang.dienThoai}</p>
                <p><strong>Mã vùng</strong>:${DonDatHang.khachHang.diaChi.maVung}</p>
                <p><strong>Châu lục:</strong>${DonDatHang.khachHang.diaChi.chauLuc.tenChauLuc}</p>
                <p><strong>Tiền thanh toán:</strong>tyu</p>
                <p><strong>Gói quà</strong>:${DonDatHang.thongTinTuyChon.loiChuc}</p>
                <p><strong>Ghi chú</strong>:${DonDatHang.thongTinTuyChon.ghiChu}</p>
            </div>
            <table width="100%" border="1" cellspacing="0" cellpadding="0">
                <c:forEach var="sanPham" items="${listSanPham}" varStatus="STT">
                    <tr>
                        <td width="10%"><img src='${sanPham.hinhAnhMinhHoa}'/></td>
                        <td width="90%" valign="top">
                            <span style="color:black;">
                                <b>${sanPham.tenSanPham}</b>
                                (thông tin mô tả về mọi thứ)
                            </span><br/><br/>
                            <b>
                                Gía:
                                <span style="color:#930">${sanPham.giaBanHienTai}</span>
                            </b>x
                            <b>${sanPham.soLuongDangCo}</b>
                        </td>
                    </tr>
                </c:forEach>
            </table>
            <br/>
            <table width="100%" border="1" cellspacing="0" cellpadding="0">
                <tr>
                    <td valign="top" width="39%">
                        <span style="font-size:medium; font-weight:bold;">Tổng ${TongTien} VNĐ</span>
                    </td>
                    <td width="61%" align="right" valign="top">
                        <span style="font-size:medium;font-weight:bold">Trọng lượng 2.32gr		</span>
                    </td>
                </tr>
            </table>
            <hr />
            <a href="TrangChu.htm"><input type="submit" name="TroLaiMuaHang" id="TroLaiMuaHang" value="Trở lại mua hàng" /></a>

            <form:form method="post" action="ThanhToan.htm?action=XacNhanDaGoiDonDatHang">
                <input type="submit" name="XacNhanDonHang" value="Gởi đơn hàng"/>
            </form:form>
        </c:if>
        <c:if test="${message=='2'}">
            Vao xac nhan hang hoa rui
        </c:if>
    </body>
</html>
